home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_311 / udate / datehelp.c < prev    next >
C/C++ Source or Header  |  1992-05-06  |  2KB  |  40 lines

  1. /*-------------------------------------------------------------------------*/
  2. /*      program: datehelp                                                  */
  3. /*      Purpose: display helpscreen for date/udate                         */
  4. /*   Programmer: George Kerber                                             */
  5. /*      Written:  07/08/89                                                 */
  6. /*-------------------------------------------------------------------------*/
  7.  
  8. #include <stdio.h>
  9. #include <stdlib.h>
  10. #define WRITTEN "07/08/89 - 12/28/89"
  11. #define VERSION "v1.04"
  12. void main();
  13.  
  14. void main(argc,argv)
  15. int argc;
  16. char *argv[];
  17. {  /* Opening Brace for Main */
  18.  
  19.  
  20. if(argv[1][0] == 'x') {
  21.  
  22. printf(" a abbreviated weekday name        A full weekday name    R time - hh:mm\n");
  23. printf(" b abbreviated month name          B full month name      H hour - 00 to 23\n");
  24. printf(" d day of month - 01 to 31         D date - mm/dd/yy      Z timezone name*\n");
  25. printf(" S second - 00 to 59               t tab character        i hour - 1 to 12\n");
  26. printf(" x day of month ext \(st,nd,rd,th\)  n newline character    I hour - 01 to 12\n");
  27. printf(" e day of month -  1 to 31         Y four digit year      y two digit year\n");
  28. printf(" m month of year - 01 to 12        M minute - 00 to 59    T time - hh:mm:ss\n");
  29. printf(" q print a literal quote           j julian day of year   J days remaining\n");
  30. printf(" g greeting + date/time (o + k)    o greeting (Good...)   k date/time string\n");
  31. printf(" u ddd mmm dd hh:mm:ss tzn* yyyy   r time - hh:mm:ss pp   p string, AM or PM\n");
  32. printf(" w day of week - Sunday = 0        W same as w, Sun = 1   $ default date\n\n");
  33.    }
  34.    else {
  35.    printf("\n  NOTE:  datehelp is called from the date/udate program.\n\n");
  36.    }
  37. }
  38.  
  39.  
  40.